<script setup lang="ts">
import { ElConfigProvider } from 'element-plus'
import {ref} from 'vue'
import zhCn from 'element-plus/es/locale/lang/zh-cn'

const locale = ref(zhCn);

</script>

<template>
   <el-config-provider :locale="locale">
    <RouterView />   
  </el-config-provider>
</template>
 